home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 5.0 KB | 269 lines | [TEXT/MPS ] |
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: ODTypesM.xh.
- * Generated using:
- * SOM Precompiler somipc: 2.18
- * SOM Emitter emitxh.dll: 2.33
- */
-
- #ifndef SOM_Module_OpenDoc_Global_Types_defined
- #define SOM_Module_OpenDoc_Global_Types_defined 1
- #include <som.xh>
-
- /*
- * Start of user-defined types:
- */
- typedef
- DescType ODDescType;
- typedef
- AESendMode ODSendMode;
- typedef
- AESendPriority ODSendPriority;
- typedef
- AEEventClass ODEventClass;
- typedef
- AEEventID ODEventID;
-
- /*
- * Types added for OSAObject support
- */
- typedef
- ODULong ODScriptingSubType;
- typedef
- ODULong ODScriptingConnection;
- typedef
- ODULong ODOSAID;
-
- /*
- * OS specific types
- *
- * The following typedefs are OS specific. They are put together in this file for the
- * time being. However, they can be put into separate files if desired. For example,
- * all the primitive types will be put in ODPlatformMisc.h;
- * all graphics system types will be put in ODPlatformGraphics.h;
- * all File system types will be put in ODPlatformFiles.h; and so on.
- * The advantage of splitting them in separate files is the changing one type will not
- * require recompiling all the files which includea ODTypes.h. Also, there may be a lot
- * of OS-specific types. If that's the case, we don't want them all in one file.
- *
- * Text
- */
- typedef
- long ODITextFormat;
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODIText {
- ODITextFormat format;
- ODByteArray text;
- } ODIText;
- #if powerc
- # pragma options align=reset
- #endif
- typedef
- struct ODIText ODName;
- typedef
- ODName ODContainerName;
- typedef
- ODName ODDocumentName;
-
- /*
- * Imaging
- */
- typedef
- ODHandle ODIconFamily;
-
- /*
- * Events
- */
- typedef
- ODUShort ODEventType;
- typedef
- struct EventRecord ODEventData;
- class ODFrame;
- class ODFacet;
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODEventInfo {
- ODFrame* embeddedFrame;
- ODFacet* embeddedFacet;
- struct ODPoint where;
- ODBoolean propagated;
- } ODEventInfo;
- #if powerc
- # pragma options align=reset
- #endif
- typedef
- ODULong ODIdleFrequency;
- typedef
- ODULong ODTime;
-
- /*
- * Menus
- */
- typedef
- ODSShort ODMenuID;
- typedef
- ODSShort ODMenuItemID;
- typedef
- ODSLong ODCommandID;
-
- /*
- * Windows
- */
- typedef
- ODUShort ODWindowLayer;
-
- /*
- * Name Binding
- */
- typedef
- ODISOStr ODKind;
-
- /*
- * An opaque type identifying a specific part kind
- */
- typedef
- ODISOStr ODCategory;
-
- /*
- * An opaque type identifying a specific part category
- */
- typedef
- ODISOStr ODEditor;
-
- /*
- * An opaque type identifying a specific part editor
- */
- typedef
- ODISOStr ODContainerSuite;
-
- /*
- * An opaque type identifying a specific container suite
- */
- typedef
- ODULong ODUpdateID;
-
- /*
- * Content update IDs
- */
- typedef
- ODULong ODDraftKey;
-
- /*
- * Drag and Drop
- */
- typedef
- ODBoolean ODDragResult;
-
- /*
- * Link Protocol
- */
- typedef
- ODULong ODLinkUpdateResult;
- typedef
- ODULong ODPasteAsMergeSetting;
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODLinkInfo {
- ODType kind;
- ODTime creationTime;
- ODTime changeTime;
- ODUpdateID change;
- ODBoolean autoUpdate;
- } ODLinkInfo;
-
- /*
- * Link Dialogs
- */
- #if powerc
- # pragma options align=reset
- #endif
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODPasteAsResult {
- ODBoolean pasteLinkSetting;
- ODBoolean autoUpdateSetting;
- ODBoolean mergeSetting;
- ODTypeToken selectedView;
- ODType selectedKind;
- ODType translateKind;
- ODEditor editor;
- } ODPasteAsResult;
- #if powerc
- # pragma options align=reset
- #endif
- typedef unsigned long ODLinkInfoAction;
- #define kODLinkInfoCancel 1UL
- #define kODLinkInfoOk 2UL
- #define kODLinkInfoBreakLink 3UL
- #define kODLinkInfoUpdateNow 4UL
- #define kODLinkInfoFindSource 5UL
-
- /*
- * -- Share exact same alignment between 68k & PowerPC.
- * -- User to add padding to idl as desired for better alignment.
- */
- #if powerc
- # pragma options align=mac68k
- #endif
- typedef
- struct ODLinkInfoResult {
- ODLinkInfoAction action;
- ODBoolean autoUpdate;
- } ODLinkInfoResult;
-
- /*
- *
- * Constants
- *
- */
- #if powerc
- # pragma options align=reset
- #endif
- #define OpenDoc_Global_Types_OpenDoc_Types_Version "1.0."
-
- #ifndef SOM_DONT_USE_SHORT_NAMES
- #ifndef SOMTGD_OpenDoc_Types_Version
- #ifdef OpenDoc_Types_Version
- #undef OpenDoc_Types_Version
- #define SOMTGD_OpenDoc_Types_Version 1
- #else
- #define OpenDoc_Types_Version OpenDoc_Global_Types_OpenDoc_Types_Version
- #endif /* OpenDoc_Types_Version */
- #endif /* SOMTGD_OpenDoc_Types_Version */
- #endif /* SOM_DONT_USE_SHORT_NAMES */
-
- /*
- * End of user-defined types.
- */
- #endif /* SOM_Module_OpenDoc_Global_Types_defined */
-